package org.tyut.xyl.game;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.liugang.tugofwar.R;

public class MainActivity extends AppCompatActivity {

    public static String userid = "";
    public static String username = "";
    public static String roomid = "";
    public static String team = "";
    public static String roommaster = "0";
    public static String roomcount = "1";
    public static String flag = "0";
    public static String redteam[] = {"", "", "", "", ""}; //5个
    public static String blueteam[] = {"", "", "", "", ""};
    public static String result = "";
    public static int mycount = 0;
    public static int redcount = 0;
    public static int bluecount = 0;
    public static int time = 60;
    public static int my1scount = 0;
    public static int totalcount = 0;
    public static int rednumber = 0;
    public static int bluenumber = 0;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


    }

    public void onClickToLogin(View view) {
        Intent intent = new Intent(MainActivity.this, LoginActivity.class);
        startActivity(intent);
    }

    public void onClickToSignin(View view) {
        Intent intent = new Intent(MainActivity.this, SigninActivity.class);
        startActivity(intent);
    }


}
